﻿using System;
using System.Collections.ObjectModel;
using System.Reflection;

namespace FishSimulation.Model
{
    public class ActorProperties : ModelBase
    {
        public static ActorProperties Instance
        {
            get;
            private set;
        }

        private string[] _PropertyNames;
        public string[] PropertyNames {
            get { return _PropertyNames; }
            set {
                if (_PropertyNames != value)
                {
                    _PropertyNames = value;
                    this.OnPropertyChanged("PropertyNames");
                }
            }
        }

        public ActorProperties()
        {
            this.PropertyNames = new string[0];
        }

        static ActorProperties() {
            Instance = new ActorProperties();
            Instance.PropertyNames = new string[] { 
                "Actor.AgeTicks",
                "Actor.FoodLevel",
                "Actor.Length",
                "Actor.Weight",
                "Other.Actor.AgeTicks", 
                "Other.Actor.FoodLevelPercent", 
                "Other.Actor.Length", 
                "Other.Actor.Weight" 
            };
        }
    }
}
